<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
    <title>后台借书管理</title>
    <link rel="stylesheet" type="text/css" href="<s:url value="/inc/style.css"/>">
</head>
<body>
<center>
    <s:action name="header" executeResult="true" namespace="/"/>
    <table width="900">
        <tr>
            <td height="30">当前位置>>后台借书管理</td>
        </tr>
    </table>
    <form action="<s:url value="/manager_lendlist.action"/>" method="post">
        <table width="900">
            <tr>
                <td>借书人ID：<input type="text" name="userId" value="<s:property value="userId"/>">&nbsp;&nbsp;<input type="submit" value="查询"/></td>
            </tr>
        </table>
    </form>
    <table width="900" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bordercolordark="#FFFFFF"  bordercolorlight="#888888">
        <tr bgcolor="#DDDDEE">
            <td width="20%">用户ID</td>
            <td height="35" width="20%">书籍编号</td>
            <td width="20%">书名</td>
            <td width="20%">类别</td>
            <td width="20%">借书时间</td>
        </tr>
        <s:iterator value="lendlist" id="b">
            <tr>
                <td><s:property value="#b.userId"/></td>
                <td height="35"><s:property value="#b.bookId"/></td>
                <td><s:property value="#b.bookName"/></td>
                <td><s:property value="#b.categoryName"/></td>
                <td><s:date name="#b.createTime" format="yyyy-MM-dd HH:mm:ss" /></td>
            </tr>
        </s:iterator>
    </table>
</center>
</body>
</html>
